package com.teaching.teachingsupport.common.pojo.dataobject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("user")
public class User {
    @TableId(type = IdType.AUTO)
    private Long userId;
    private String username;
    private String passwordHash;
    private String roleType;
    
    @TableField("last_login")
    private LocalDateTime lastLogin;
    
    private Integer status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String avatarUrl;
}
